<template>
	<view class="content">
		<swiper class="banner-swiper" autoplay="true">
			<swiper-item>
				<image class="banner-image" :src="item" v-for="(item,index) in companyInfoWx.images_list" :key="index"></image>
			</swiper-item>
		</swiper>
		<view class="title">
			<view class="titile-text">公司简介</view>
		</view>
		<p class="text">
			<em v-html="companyInfoWx.content">长沙可可广告文化传播有限公司是在coco?设计工作室的基础上于2014年正式创设为广告公司。十三年湖南长沙及周边城市市场经验和广告理念的积累以使其具备深厚的本土广告宣传经验。目前已发展成为一家集创意表现、平面设计、品牌推广策划、整合营销、活动策划、媒介传播等业务于一体的综合型专业广告公司。</em>
		</p>
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				companyInfoWx:{}
			}
		},
		methods: {
			getCompanyInfoWx(){
				this.$http.post('/system/getCompanyInfoWx').then(res => {
					
					this.companyInfoWx=res.data.data
					console.log(this.companyInfoWx);
				})
			}
		},
		onLoad() {
			this.getCompanyInfoWx()
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		width: 100vw;
		height: 100vh;
		background-color: #F5F5F5;
		box-sizing: border-box;

		.banner-swiper {
			width: 100%;
			height: 450rpx;

			.banner-image {
				width: 100%;
				height: 100%;
			}
		}

		.title {
			margin: auto;
			margin-top: 40rpx;
			width: 144rpx;
			height: 56rpx;
			background: #3d9c36;
			border-radius: 28rpx;

			.titile-text {
				margin: auto;
				width: 112rpx;
				height: 40rpx;
				font-size: 28rpx;
				font-family: PingFang SC, PingFang SC-Bold;
				font-weight: 700;
				text-align: CENTER;
				color: #ffffff;
				line-height: 50rpx;
			}
		}

		.text {
			margin: auto;
			width: 658rpx;
			height: 288rpx;
			font-size: 24rpx;
			font-family: PingFang SC, PingFang SC-Medium;
			font-weight: 500;
			text-align: LEFT;
			color: #333333;
			line-height: 48rpx;
			text-indent: 2em;
		}
	}

	* {
		margin: 0 auto;
		padding: 0 0;
	}
</style>
